package com.hksj.slm.entity;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("hk_link_lighting")
public class LinkLighting implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("路径")
    private Long id;

    @ApiModelProperty("设备模型id")
    private String deviceModelId;

    @ApiModelProperty("设备id")
    private String deviceId;

    @ApiModelProperty("属性类型(temperature、humidity等)")
    private String property;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

}
